<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="Trainercity v1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />
<title><?php echo $this->_var['page_title']; ?></title>
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'transport.js,common.js,user.js')); ?>
<style type="text/css"> 
<!-- 
body,div,ul,li{ 
padding:0; 
text-align:center; 
} 
body{ 
font:12px "宋体"; 
text-align:center; 
} 

a:visited { 

text-decoration:none; 
} 
a:hover { 

text-decoration:underline; 
} 
ul{list-style:none;} 
/*选项卡1*/ 
#Tab1{ 
width:460px; 
margin:0px; 
padding:0px; 
margin:0 auto;} 
/*选项卡2*/ 
#Tab2{ 
width:576px; 
margin:0px; 
padding:0px; 
margin:0 auto;} 
/*菜单class*/ 
.Menubox { 
width:100%; 
background:url(http://www.jb51.net/upload/small/20079299441652.gif); 
height:28px; 
line-height:28px; 
} 
.Menubox ul{ 
margin:0px; 
padding:0px; 
} 
.Menubox li{ 
float:left; 
display:block; 
cursor:pointer; 
width:114px; 
text-align:center; 
color: #999999; 
font-weight:bold; 
} 
.Menubox li.hover{ 
padding:0px; 
background:#fff; 
width:116px; 
border-left:1px solid #999999; 
border-top:1px solid #999999; 
border-right:1px solid #999999; 
background:url(http://www.jb51.net/upload/small/200792994426548.gif); 
color: #666666; 
font-weight:bold; 
height:27px; 
line-height:27px; 
} 
.Contentbox{ 
clear:both; 
margin-top:0px; 
border:1px solid #999999; 
border-top:none; 
text-align:center; 
padding-top:8px; 
} 
--> 
</style>
<script> 
<!-- 
/*第一种形式 第二种形式 更换显示样式*/ 


function setTab(name,cursel,n){ 
for(i=1;i<=n;i++){ 
var menu=document.getElementById(name+i); 
var con=document.getElementById("con_"+name+"_"+i); 
menu.className=i==cursel?"hover":""; 
con.style.display=i==cursel?"block":"none"; 
} 
if(cursel == 2)
{
	document.getElementById('star_review').style.display = 'none';
}
else
{
	document.getElementById('star_review').style.display = '';
}

} 
//--> 
</script> 

<script type="text/javascript">


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1848127-18']);
  _gaq.push(['_setDomainName', '.fitwow.com']);
  _gaq.push(['_trackPageview']);


  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


</script></head>

<body >
<div class="box1">
	<?php echo $this->fetch('library/page_header.lbi'); ?>
<?php if ($this->_var['info']['user_type'] == 1): ?>
<?php if ($this->_var['exerciser_watch'] == 0): ?>
    <div class="column">
    	<div class="l_nav_con">
                <ul>
                    <li><a href="user.php" style="color: #FFFFFF; background-color: #CCCCCC" >My Dashboard</a></li>
                    <li><a href="projects.php?act=my_clients_proposals">My Offers</a></li>
                    <li><a href="user.php?act=profile" >Manage Account</a></li>
                </ul>
            </div>
    </div>
    <div class="l_con mannge_acc">    
        <div class="right_posta">
            	<ul >
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>  
            
        <div style="margin-top:20px;">	  
		  <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:30px;border-collapse:collapse;border:none;border:solid #CCC 2px;">
  <tr>
    <td width="71%" height="25" align="left"><span style="font-size:30px; margin-left:15px; font-weight:bold;"><?php echo $this->_var['info']['firstname']; ?> <?php echo $this->_var['info']['lastname']['0']; ?></span></td>
    <td width="29%" align="right"><span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_entered']; ?> projects entered</span></td>
  </tr>
  <tr>
    <td height="22" align="left">
	<?php if ($this->_var['info']['experienceType']): ?>
	<span style="font-size:12px; margin-left:15px;"><?php echo $this->_var['info']['experienceType']; ?>  Years Experiences</span> 
	<?php endif; ?>
	</td>
    <td align="right"><span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_won']; ?> projects won</span></td>
  </tr>
  <tr>
    <td height="21" align="left">
	<?php if ($this->_var['info']['address']): ?>
	<span style="font-size:12px; margin-left:15px;"><?php echo $this->_var['info']['address']; ?>, <?php echo $this->_var['info']['province']; ?>, <?php echo $this->_var['info']['country']; ?></span>
	<?php endif; ?>
	</td>
    <td align="right">
	<span style="font-size:12px; margin-right:15px;">Total $<?php echo $this->_var['info']['totalEarn']; ?> Earned</span>
	</td>
  </tr>
</table>
        </div>
		<div class="profile" style="text-align:center; background-color:#CCCCCC;">
			<br />
        	<a href="user.php">
			<?php if ($this->_var['info']['photo']): ?>
			<img src="<?php echo $this->_var['info']['photo']; ?>" />
			<?php elseif ($this->_var['info']['genderType'] == 'female'): ?>
			<img src="themes/default/images/girls.gif" />
			<?php else: ?>
			<img src="themes/default/images/boys.gif" />
			<?php endif; ?>
			</a>
			<br />
			<label>
        	<a href="user.php?act=aboutme"><input type="submit" name="button" id="button" class="edita" style=" margin-top:15px; margin-bottom:10px;  width:142px; height:35px;" value="Edit profile" /></a>
      		</label> 
			<div>
				<table>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">Services &nbsp;&nbsp;   providing:</span><br />
					</tr>
					<tr>
						
						<?php echo $this->_var['info']['trainingServiceType']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px"> Training &nbsp;&nbsp; Specialties</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['training_specialties']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px"> Credentials</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['credentials']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">School</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['school']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">Major</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['major']; ?>
					</tr>
				</table>
			
			
			</div>
			<br />
            <br />
		</div>
               		      	
        <div class="location">
			<?php if ($this->_var['info']['won_number'] != 0): ?>
			<div class="locationa">
				<a href="projects.php?act=my_clients_proposals">
            	<div class="locationa1">
                	<p style="text-align:left;"><strong>Alert</strong></p>
					
                    <p style="line-height:25px; text-align:left; padding-left:180px;"><span style=" color:#FF0000; font-size:16px;"><?php echo $this->_var['info']['won_number']; ?> new award</span></p>
					
					
                </div>
				</a>
            </div>
			<?php else: ?>
			<div class="locationa">
            	<div class="locationa1">
                	<p style="text-align:left;"><strong>No alerts</strong></p>
                </div>
            </div>
			<?php endif; ?> 
			<br />
			<div class="locationa">
            	<div class="locationa1" style=" text-align:left;">
                	<p><strong class="edit2a">My offers</strong></p>
                    <p>
					<table width="700" border="0" cellspacing="0" cellpadding="1" style="margin-left:30px;">
					<?php if ($this->_var['proposalsNum'] != 0): ?>
					<tr height="30px;">
					<td style=" font-weight:bold;">Subject</td>
					<td style=" font-weight:bold;">Date you offered</td>					
					<td style=" font-weight:bold;">Status</td>
					<tr>
					<?php endif; ?>
					<?php $_from = $this->_var['proposals']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'proposal');if (count($_from)):
    foreach ($_from AS $this->_var['proposal']):
?>
					<tr height="30px;">
					<td ><?php echo $this->_var['proposal']['subject']; ?></td>
					<td ><?php echo $this->_var['proposal']['proposaledDate']; ?></td>					
					<td style=" color:#333333; ">
					<?php if ($this->_var['proposal']['awarded'] == 0): ?>
					<a href="projects.php?act=project_proposal&pid=<?php echo $this->_var['proposal']['pid']; ?>&ppid=<?php echo $this->_var['proposal']['ppid']; ?>" >					   
					Edit
					</a>
					<?php elseif ($this->_var['proposal']['accepted'] == 1 && $this->_var['proposal']['review'] != 1): ?>
					<a href="projects.php?act=review_client&pid=<?php echo $this->_var['proposal']['pid']; ?>" >
					Review Client
					</a>
					<?php elseif ($this->_var['proposal']['review'] == 1): ?>					
					Have Reviewed
					<?php else: ?>
					<a href="projects.php?act=act_accept_award&ppid=<?php echo $this->_var['proposal']['ppid']; ?>&pid=<?php echo $this->_var['proposal']['pid']; ?>">
					Accept
					</a>
					<?php endif; ?>
					</td>
					<tr>
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					<tr height="30px;">
					<td ></td>
					<td ></td>
					<?php if ($this->_var['proposalsNum'] == 0): ?>
					<td style="color:#333333; text-align:left; ">You don’t have any</td>
					<?php else: ?>
					<td style="color:#333333; text-decoration:underline;"><a href="projects.php?act=my_clients_proposals">View All</a></td>
					<?php endif; ?>
					<tr>
					</table>
					</p>
                </div>
            </div>
			<br />
        	<div class="locationa">
                <table width="100%">
					<tr class="edit2a" width="100%">
						<td width="100%" style="padding-left:3px;">
							About Me
						</td>
					</tr>
					<tr class="edit2b" width="100%">
						<td width="100%" style="word-break:break-all; line-height:20px; text-align:left; padding-left:5px; padding-right:5px; padding-bottom:5px;">
							<?php echo $this->_var['info']['BIO']; ?>
						</td>
					</tr>
				</table>
          	 </div>
			 <br />
			 <div class="locationa">
                <div class="locationa1">
					<div class="edit2a" >
					Review &nbsp;&nbsp;&nbsp;&nbsp;<span id="star_review" style="font-size:14px; color:#0099CC;"><img  src="themes/default/images/stars<?php echo $this->_var['info']['rank_points']; ?>.gif" /> &nbsp;&nbsp;&nbsp;&nbsp;(<?php echo $this->_var['reviewed_count']; ?> customer reviews)</span>
					</div>
				<div class="Menubox"> 
					<ul> 
						<li id="one1" onClick="setTab('one',1,2)" class="hover">About You</li> 
						<li id="one2" onClick="setTab('one',2,2)" >By You</li> 
					</ul> 
				</div> 
				<div class="Contentbox"> 
					<div id="con_one_1" class="hover" style="text-align:left;">
					<?php $_from = $this->_var['reviewed']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewed_0_54829000_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewed_0_54829000_1314465777']):
?>
					
					<div class="lcl_huicon" style="border-bottom:0px solid #cccccc;">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewed_0_54829000_1314465777']['reviewer_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewed_0_54829000_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewed_0_54829000_1314465777']['photo']; ?>" width="65px;" />
								<?php elseif ($this->_var['reviewed_0_54829000_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px;"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px;"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewed_0_54829000_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
							<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewed_0_54829000_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewed_0_54829000_1314465777']['rank_score']; ?>.gif" />
							</div>
                    	</div>
               		</div>														
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>

					</div> 
					<div id="con_one_2" style="display:none; text-align:left;">
					<?php $_from = $this->_var['reviewer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewer_0_54885600_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewer_0_54885600_1314465777']):
?>
					
					<div class="lcl_huicon">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewer_0_54885600_1314465777']['reviewed_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewer_0_54885600_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewer_0_54885600_1314465777']['photo']; ?>" width="65px;"/>
								<?php elseif ($this->_var['reviewer_0_54885600_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px;"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px;"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewer_0_54885600_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
                        	<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewer_0_54885600_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewer_0_54885600_1314465777']['rank_score']; ?>.gif" />
							</div>
                    	</div>
               		</div>					
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  

					</div> 
				</div> 	
															
                </div>          
          	 </div>
			 <br />
        </div>
		
		
    </div>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
    
</div>
<?php else: ?>

    <div class="center">
    	 <div class="right_posta">
            	<ul >
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>  
            
        <div style="margin-top:20px;">	  
		<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:30px;border-collapse:collapse;border:none;border:solid #CCC 2px;">
  			<tr>
    			<td width="71%" height="25" align="left"><span style="font-size:30px; margin-left:15px; font-weight:bold;"><?php echo $this->_var['info']['firstname']; ?> <?php echo $this->_var['info']['lastname']['0']; ?></span></td>
    			<td width="29%" align="right"><span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_entered']; ?> projects entered</span></td>
  			</tr>
  			<tr>
    			<td height="22" align="left">
				<?php if ($this->_var['info']['experienceType']): ?>
				<span style="font-size:12px; margin-left:15px;"><?php echo $this->_var['info']['experienceType']; ?>  Years Experiences</span> 
				<?php endif; ?>
				</td>
    			<td align="right"><span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_won']; ?> projects won</span></td>
  			</tr>
  			<tr>
    			<td height="21" align="left">
				<?php if ($this->_var['info']['address']): ?>
				<span style="font-size:12px; margin-left:15px;"><?php echo $this->_var['info']['address']; ?>, <?php echo $this->_var['info']['province']; ?>, <?php echo $this->_var['info']['country']; ?></span>
				<?php endif; ?>
				</td>
    			<td align="right">
				<span style="font-size:12px; margin-right:15px;">Total $<?php echo $this->_var['info']['totalEarn']; ?> Earned</span>
				</td>
  			</tr>
		</table>
        </div>
		<div class="profile" style="text-align:center; background-color:#CCCCCC;">
			<br />
			<?php if ($this->_var['info']['photo']): ?>
			<img src="<?php echo $this->_var['info']['photo']; ?>" />
			<?php elseif ($this->_var['info']['genderType'] == 'female'): ?>
			<img src="themes/default/images/girls.gif" />
			<?php else: ?>
			<img src="themes/default/images/boys.gif" />
			<?php endif; ?>
			<br />
			<div>
			<br />
			<table>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">Services &nbsp;&nbsp;   providing:</span><br />
					</tr>
					<tr>
						
						<?php echo $this->_var['info']['trainingServiceType']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px"> Training &nbsp;&nbsp; Specialties</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['training_specialties']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px"> Credentials</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['credentials']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">School</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['school']; ?><br />
					</tr>
					<tr>
						<span style="font-weight:bold; font-size:12px; border-bottom-style:double; height:30px; line-height:30px">Major</span><br />
					</tr>
					<tr>
						<?php echo $this->_var['info']['major']; ?>
					</tr>
			</table>
					
			</div>
			<br />
		</div>
               		      	
        <div class="location">			
			<div class="locationa">
            	<div class="locationa1" style=" text-align:left;">
                	<p><strong class="edit2a">My offers</strong></p>
                    <p>
					<table width="500" border="0" cellspacing="0" cellpadding="1" style="margin-left:110px;">
					<?php if ($this->_var['proposalsNum'] != 0): ?>
					<tr height="30px;">
					<td style=" font-weight:bold;">Subject</td>
					<td style=" font-weight:bold;">Date you offered</td>
					<td >											  	                								
					</td>
					<tr>
					<?php endif; ?>
					<?php $_from = $this->_var['proposals']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'proposal');if (count($_from)):
    foreach ($_from AS $this->_var['proposal']):
?>
					<tr height="30px;">
					<td ><?php echo $this->_var['proposal']['subject']; ?></td>
					<td ><?php echo $this->_var['proposal']['proposaledDate']; ?></td>
					<td >
					<?php if ($this->_var['proposalsNum'] == 0): ?>
					<td style="color:#333333; text-align:left;">You don’t have any</td>
					<?php endif; ?>
																	  	                								
					</td>
					<tr>
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					</table>
					</p>
                </div>
            </div>
			<br />
        	<div class="locationa">
                <table width="100%">
					<tr class="edit2a" width="100%">
						<td width="100%" style="padding-left:3px;">
							About Me
						</td>
					</tr>
					<tr class="edit2b" width="100%">
						<td width="100%" style="word-break:break-all; line-height:20px; text-align:left; padding-left:5px; padding-right:5px; padding-bottom:5px;">
							<?php echo $this->_var['info']['BIO']; ?>
						</td>
					</tr>
				</table>
          	 </div>
			 <br />
			 <div class="locationa">
                <div class="locationa1">					
					<div class="edit2a">
					Review &nbsp;&nbsp;&nbsp;&nbsp;<span id="star_review" style="font-size:14px; color:#0099CC;"><img  src="themes/default/images/stars<?php echo $this->_var['info']['rank_points']; ?>.gif" /> &nbsp;&nbsp;&nbsp;&nbsp;(<?php echo $this->_var['reviewed_count']; ?> customer reviews)</span>
					</div>
				<div class="Menubox"> 
					<ul> 
						<li id="one1" onClick="setTab('one',1,2)" class="hover">About You</li> 
						<li id="one2" onClick="setTab('one',2,2)" >By You</li> 
					</ul> 
				</div> 
				<div class="Contentbox"> 
					<div id="con_one_1" class="hover" style="text-align:left;">
					<?php $_from = $this->_var['reviewed']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewed_0_55096200_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewed_0_55096200_1314465777']):
?>
					
					<div class="lcl_huicon" style="border-bottom:0px solid #cccccc;">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewed_0_55096200_1314465777']['reviewer_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewed_0_55096200_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewed_0_55096200_1314465777']['photo']; ?>" width="65px;"/>
								<?php elseif ($this->_var['reviewed_0_55096200_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px;"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px;"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewed_0_55096200_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
							<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewed_0_55096200_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewed_0_55096200_1314465777']['rank_score']; ?>.gif" />
							</div>
                    	</div>
               		</div>														
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> 

					</div> 
					<div id="con_one_2" style="display:none; text-align:left;">
					<?php $_from = $this->_var['reviewer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewer_0_55148800_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewer_0_55148800_1314465777']):
?>
					
					<div class="lcl_huicon">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewer_0_55148800_1314465777']['reviewed_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewer_0_55148800_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewer_0_55148800_1314465777']['photo']; ?>" width="65px;"/>
								<?php elseif ($this->_var['reviewer_0_55148800_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px;"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px;"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewer_0_55148800_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
                        	<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewer_0_55148800_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewer_0_55148800_1314465777']['rank_score']; ?>.gif" />
							</div>
                    	</div>
               		</div>					
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
					  
					</div> 
				</div> 						
                </div>          
          	 </div>
			 <br />
        </div>
		
		<?php echo $this->fetch('library/page_footer.lbi'); ?>
    </div>
    

<?php endif; ?>
<?php else: ?>
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	left:1055px;
	top:410px;
	width:20px;
	height:30px;
	z-index:1;
}
#apDiv2 {
	position:absolute;
	left:333px;
	top:366px;
	width:58px;
	height:47px;
	z-index:1;
}
-->
</style>

<?php if ($this->_var['exerciser_watch'] == 0): ?>
    <div class="column">
    	<div class="l_nav_con">
                <ul>
                    <li style="color: #3399FF" style="color: #FFFFFF; background-color: #CCCCCC" ><a href="user.php">My dashboard</a></li>
                    <li><a href="projects.php?act=my_fitness_listings">My Fitness Listings</a></li>
                    <li ><a href="user.php?act=profile" >Manage account</a></li>
                </ul>
            </div>
    </div>
    <div class="center">
    	<div class="right_posta">
            	<ul >
					<li><a href="projects.php?act=add">Post your fitness needs</a></li>
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>  
            
        <div style="margin-top:20px;">	  
		<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:30px;border-collapse:collapse;border:none;border:solid #CCC 2px;">
  			<tr>
    			<td width="71%" height="25" align="left"><span style="font-size:30px; margin-left:15px; font-weight:bold;"><?php echo $this->_var['info']['firstname']; ?> <?php echo $this->_var['info']['lastname']['0']; ?></span></td>
    			<td width="29%" align="right"><p style="font-size:12px; margin-right:15px;">&nbsp;</p>
   			    <p style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_created']; ?> projects created</p></td>
  			</tr>
  			<tr>
    			<td height="20" align="left">				</td>
    			<td align="right"><span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_awarded']; ?> projects awarded</span></td>
  			</tr>
			<tr>
    			<td height="20" align="left">				</td>
    			<td align="right"><span style="font-size:12px; margin-right:15px;">Total $<?php echo $this->_var['info']['totalEarn']; ?> Award</span></td>
  			</tr>
  			<tr>
    			<td height="19" align="left">
				<?php if ($this->_var['info']['address']): ?>
				<span style="font-size:12px; margin-left:15px;"><?php echo $this->_var['info']['address']; ?>, <?php echo $this->_var['info']['province']; ?>, <?php echo $this->_var['info']['country']; ?></span>
				<?php endif; ?>				</td>
    			<td align="right">
				<span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['reviewed_count']; ?> reviews provided</span>
				</td>
  			</tr>
		</table>
        </div>
        <div class="profile" style="text-align:center; background-color:#CCCCCC;">
			<br />
        	<a href="user.php">
			<?php if ($this->_var['info']['photo']): ?>
			<img src="<?php echo $this->_var['info']['photo']; ?>" />
			<?php elseif ($this->_var['info']['genderType'] == 'female'): ?>
			<img src="themes/default/images/girls.gif" />
			<?php else: ?>
			<img src="themes/default/images/boys.gif" />
			<?php endif; ?>
			</a>
			<br />
			<br />
			<label>
        	<a href="user.php?act=aboutme"><input type="submit" name="button" id="button" class="edita" style="font-size:12px; width:142px; height:35px;" value="Edit profile" /></a>
      		</label> 
			<br />
			<br />
		</div>
		<div class="edit" style="margin-bottom:10px;">
			<?php if ($this->_var['info']['new_proposal_number'] != 0): ?>
			
			<div class="edit2">	
				<div class="edit2a">Alert</div>		
					<?php $_from = $this->_var['alerts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'alert');if (count($_from)):
    foreach ($_from AS $this->_var['alert']):
?>
					<div class="edit2b" style="line-height:20px; text-align:left; padding-left:90px;"><a href="projects.php?act=project_proposal&ppid=<?php echo $this->_var['alert']['ppid']; ?>&pid=<?php echo $this->_var['alert']['pid']; ?>"><span style=" color:#FF0000; font-size:14px;">New proposal "<?php echo $this->_var['alert']['proposalSubject']; ?>" for your "<?php echo $this->_var['alert']['subject']; ?>" project</span></a></div>
				
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</div>
			
			<?php else: ?>
			<div class="edit2">	
			<div class="edit2a">No alerts</div>		
			</div>
			<?php endif; ?>
			<br />
			<div class="edit2">
            	<!--<div class="edit2a">Location</div>
                <div class="edit2b"><?php echo $this->_var['info']['address']; ?>, <?php echo $this->_var['info']['province']; ?>, <?php echo $this->_var['info']['country']; ?></div>
                <div class="edit2a">Gender</div>
                <div class="edit2b"><?php echo $this->_var['info']['genderType']; ?></div> -->
				<div class="edit2a">Fitness listings</div>
				<table width="500" border="0" cellspacing="0" cellpadding="1" style="margin-left:90px;">
				<?php if ($this->_var['projectsNum'] != 0): ?>
				<tr height="30px;">
					<td style=" text-align:left;font-weight:bold;" >Listing Name</td>
					<td style=" font-weight:bold;">Date Submitted</td>
					<td style=" font-weight:bold;">Status</td>
				<tr>
				<?php endif; ?>
				
				<?php $_from = $this->_var['projects']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'project');if (count($_from)):
    foreach ($_from AS $this->_var['project']):
?>
                
				<tr height="30px;">
					<td style=" text-align:left;" ><a href="projects.php?act=view_project&pid=<?php echo $this->_var['project']['pid']; ?>"><?php echo $this->_var['project']['subject']; ?></a></td>
					<td ><?php echo $this->_var['project']['createdDate']; ?></td>
					<td>
						<?php if ($this->_var['project']['status'] == 0): ?>							
						<div ><a href="projects.php?act=edit&pid=<?php echo $this->_var['project']['pid']; ?>">Edit project detail<img src="themes/default/images/304.gif" /></a></div>
						<?php elseif ($this->_var['project']['status'] == 1): ?>
						<div ><?php if ($this->_var['project']['proposalsNum'] == 0): ?><a href="projects.php?act=edit&pid=<?php echo $this->_var['project']['pid']; ?>">no bid yet, edit if u need</a><?php else: ?><a href="projects.php?act=view_project&pid=<?php echo $this->_var['project']['pid']; ?>"><?php echo $this->_var['project']['proposalsNum']; ?> proposals</a><?php endif; ?></div>					
						<?php elseif ($this->_var['project']['status'] == 2): ?>
						<div  style=" border-right:none;">
                    		<div >Project awarded</div>
                  		</div>											
						<?php elseif ($this->_var['project']['status'] == 3): ?>
						<div ><a href="projects.php?act=review&pid=<?php echo $this->_var['project']['pid']; ?>">Update training status, review trainer</a></div>							
						<?php elseif ($this->_var['project']['status'] == 4): ?>
                    	<div ><a href="projects.php?act=review&pid=<?php echo $this->_var['project']['pid']; ?>">Review trainer</a></div>						
						<?php elseif ($this->_var['project']['status'] == 5): ?>
                    	<div >Nothing left to do</div>										
						<?php endif; ?>
					
					</td>
				<tr>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				</table>
				<?php if ($this->_var['projectsNum'] == 0): ?>
				<div class="edit2b" style="text-align:left; padding-right:20px;">You don’t have any</div>
				<?php else: ?>
				<div class="edit2b" style="text-align:right; padding-right:20px; text-decoration:underline;"><a href="projects.php?act=my_fitness_listings">View All</a></div>				
				<?php endif; ?>
            </div>
			<br />
            <div class="edit2">
            	<table width="100%">
					<tr class="edit2a" width="100%">
						<td width="100%" style="padding-left:3px;">
							About Me
						</td>
					</tr>
					<tr class="edit2b" width="100%">
						<td width="100%" style="word-break:break-all; line-height:20px; text-align:left; padding-left:5px; padding-right:5px; padding-bottom:5px;">
							<?php echo $this->_var['info']['BIO']; ?>
						</td>
					</tr>
				</table>
				
            </div>
			<br />
            <div class="edit2">
				<div class="edit2a">
				Review &nbsp;&nbsp;&nbsp;&nbsp;<span id="star_review" style="font-size:14px; color:#0099CC;"><img  src="themes/default/images/stars<?php echo $this->_var['info']['rank_points']; ?>.gif" /> &nbsp;&nbsp;&nbsp;&nbsp;(<?php echo $this->_var['reviewed_count']; ?> customer reviews)</span>
				</div>
				<div class="Menubox"> 
					<ul> 
						<li id="one1" onClick="setTab('one',1,2)" class="hover">About You</li> 
						<li id="one2" onClick="setTab('one',2,2)" >By You</li> 
					</ul> 
				</div> 
				<div class="Contentbox"> 
					<div id="con_one_1" class="hover" style="text-align:left;">
					<?php $_from = $this->_var['reviewed']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewed_0_55461800_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewed_0_55461800_1314465777']):
?>
					
					<div class="lcl_huicon" style="border-bottom:0px solid #cccccc;">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewed_0_55461800_1314465777']['reviewer_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewed_0_55461800_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewed_0_55461800_1314465777']['photo']; ?>" width="65px;"/>
								<?php elseif ($this->_var['reviewed_0_55461800_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px;"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px;"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewed_0_55461800_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
							<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewed_0_55461800_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewed_0_55461800_1314465777']['rank_score']; ?>.gif" />
							</div>
							
						</div>
               		</div>														
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  

					</div> 
					<div id="con_one_2" style="display:none; text-align:left;">
					<?php $_from = $this->_var['reviewer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewer_0_55498100_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewer_0_55498100_1314465777']):
?>
					
					<div class="lcl_huicon">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewer_0_55498100_1314465777']['reviewed_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewer_0_55498100_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewer_0_55498100_1314465777']['photo']; ?>" width="65px"/>
								<?php elseif ($this->_var['reviewer_0_55498100_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewer_0_55498100_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
                        	<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewer_0_55498100_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewer_0_55498100_1314465777']['rank_score']; ?>.gif" />
							</div>
                    	</div>
               		</div>					
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>

					</div> 
				</div> 				
            </div>
        </div>
    </div>
    <?php echo $this->fetch('library/page_footer.lbi'); ?>
</div>
<?php else: ?>
	<div class="column">
    	<div class="columna">
        	<ul>
            	
            </ul>
        </div>
    </div>
    <div class="center">
		<div class="right_posta">
            	<ul >
					
                	<li><a href="projects.php?act=browse">Browse training projects</a></li>
                </ul>
      		</div>  
            
        <div style="margin-top:20px;">	  
		<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:30px;border-collapse:collapse;border:none;border:solid #CCC 2px;">
  			<tr>
    			<td width="71%" height="25" align="left"><span style="font-size:30px; margin-left:15px; font-weight:bold;"><?php echo $this->_var['info']['firstname']; ?> <?php echo $this->_var['info']['lastname']['0']; ?></span></td>
    			<td width="29%" align="right"><p style="font-size:12px; margin-right:15px;">&nbsp;</p>
   			    <p style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_created']; ?> projects created</p></td>
  			</tr>
  			<tr>
    			<td height="17" align="left">				</td>
    			<td align="right"><span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['info']['projects_awarded']; ?> projects awarded</span></td>
  			</tr>
			<tr>
    			<td height="16" align="left">				</td>
    			<td align="right"><span style="font-size:12px; margin-right:15px;">Total $<?php echo $this->_var['info']['totalEarn']; ?> Award</span></td>
  			</tr>
  			<tr>
    			<td height="15" align="left">
				<?php if ($this->_var['info']['address']): ?>
				<span style="font-size:12px; margin-left:15px;"><?php echo $this->_var['info']['address']; ?>, <?php echo $this->_var['info']['province']; ?>, <?php echo $this->_var['info']['country']; ?></span>
				<?php endif; ?>				</td>
    			<td align="right">
				<span style="font-size:12px; margin-right:15px;"><?php echo $this->_var['reviewed_count']; ?> reviews provided</span>
				</td>
  			</tr>
		</table>
        </div>
	      
		<div class="profile" style="text-align:center; background-color:#CCCCCC;">
			<br />
        	
			<?php if ($this->_var['info']['photo']): ?>
			<img src="<?php echo $this->_var['info']['photo']; ?>" />
			<?php elseif ($this->_var['info']['genderType'] == 'female'): ?>
			<img src="themes/default/images/girls.gif" />
			<?php else: ?>
			<img src="themes/default/images/boys.gif" />
			<?php endif; ?>
			<br />
			<br />
		</div>
       
		<div class="edit" style="margin-bottom:10px;">
			<div class="edit2">
            	<!--<div class="edit2a">Location</div>
                <div class="edit2b"><?php echo $this->_var['info']['address']; ?>, <?php echo $this->_var['info']['province']; ?>, <?php echo $this->_var['info']['country']; ?></div>
                <div class="edit2a">Gender</div>
                <div class="edit2b"><?php echo $this->_var['info']['genderType']; ?></div> -->
				<div class="edit2a">Fitness listings</div>
				<table width="500" border="0" cellspacing="0" cellpadding="1" style="margin-left:110px;">
				<?php if ($this->_var['projectsNum'] != 0): ?>
				<tr height="30px;">
					<td style=" text-align:left;font-weight:bold;" >Listing Name</td>
					<td style=" font-weight:bold;">Date Submitted</td>
				<tr>
				<?php endif; ?>
				
				<?php $_from = $this->_var['projects']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'project');if (count($_from)):
    foreach ($_from AS $this->_var['project']):
?>
               
				<tr height="30px;">
					<td style=" text-align:left;"><?php echo $this->_var['project']['subject']; ?></td>
					<td ><?php echo $this->_var['project']['createdDate']; ?></td>
				<tr>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				</table>
				<?php if ($this->_var['projectsNum'] == 0): ?>
				<div class="edit2b" style="text-align:left; padding-right:20px;">You don’t have any</div>
				<?php endif; ?>
            </div>
			<br />
            <div class="edit2">
            	<table width="100%">
					<tr class="edit2a" width="100%">
						<td width="100%" style="padding-left:3px;">
							About Me
						</td>
					</tr>
					<tr class="edit2b" width="100%">
						<td width="100%" style="word-break:break-all; line-height:20px; text-align:left; padding-left:5px; padding-right:5px; padding-bottom:5px;">
							<?php echo $this->_var['info']['BIO']; ?>
						</td>
					</tr>
				</table>
            </div>
			<br />
            <div class="edit2">
            	<!--<div class="edit2a">Location</div>
                <div class="edit2b"><?php echo $this->_var['info']['address']; ?>, <?php echo $this->_var['info']['province']; ?>, <?php echo $this->_var['info']['country']; ?></div>
                <div class="edit2a">Gender</div>
                <div class="edit2b"><?php echo $this->_var['info']['genderType']; ?></div> -->
				<div class="edit2a">
				Review &nbsp;&nbsp;&nbsp;&nbsp;<span id="star_review" style="font-size:14px; color:#0099CC;"><img  src="themes/default/images/stars<?php echo $this->_var['info']['rank_points']; ?>.gif" /> &nbsp;&nbsp;&nbsp;&nbsp;(<?php echo $this->_var['reviewed_count']; ?> customer reviews)</span>
				</div>
				<div class="Menubox"> 
					<ul> 
						<li id="one1" onClick="setTab('one',1,2)" class="hover">About You</li> 
						<li id="one2" onClick="setTab('one',2,2)" >By You</li> 
					</ul> 
				</div> 
				<div class="Contentbox"> 
					<div id="con_one_1" class="hover" style="text-align:left;">
					<?php $_from = $this->_var['reviewed']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewed_0_55642600_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewed_0_55642600_1314465777']):
?>					
					<div class="lcl_huicon" style="border-bottom:0px solid #cccccc;">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewed_0_55642600_1314465777']['reviewer_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewed_0_55642600_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewed_0_55642600_1314465777']['photo']; ?>" width="65px"/>
								<?php elseif ($this->_var['reviewed_0_55642600_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewed_0_55642600_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
							<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewed_0_55642600_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewed_0_55642600_1314465777']['rank_score']; ?>.gif" />
							</div>
                    	</div>
               		</div>														
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  

					</div> 
					<div id="con_one_2" style="display:none; text-align:left;">
					<?php $_from = $this->_var['reviewer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'reviewer_0_55679500_1314465777');if (count($_from)):
    foreach ($_from AS $this->_var['reviewer_0_55679500_1314465777']):
?>					
					<div class="lcl_huicon">
                		<div class="lcl_hui01" style="text-align:left;">
                    		<dl>
								<a href="user.php?user_id=<?php echo $this->_var['reviewer_0_55679500_1314465777']['reviewed_id']; ?>" >
                        		<dt>
								<?php if ($this->_var['reviewer_0_55679500_1314465777']['photo']): ?>
								<img src="<?php echo $this->_var['reviewer_0_55679500_1314465777']['photo']; ?>" width="65px"/>
								<?php elseif ($this->_var['reviewer_0_55679500_1314465777']['sex'] == 0): ?>
								<img src="themes/default/images/girls.gif" width="65px"/>
								<?php else: ?>
								<img src="themes/default/images/boys.gif" width="65px"/>
								<?php endif; ?>
								</dt>
                            	<dd class="font11" style="color:#000000;"><?php echo $this->_var['reviewer_0_55679500_1314465777']['user_name']; ?></dd>
								</a>
                        	</dl>
                        	<div class="lcl_right" style="width:550px; margin-top:20px; text-align:center;">
							<table width="549" border="0" cellspacing="0" cellpadding="0">
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_1.gif" width="549" height="33" /></td>
  								</tr>
  								<tr>
    								<td background="themes/default/images/recommendation_bubble_2.gif" align="left" valign="top">	
									<div style="margin-left:35px; text-align:left;"><?php echo $this->_var['reviewer_0_55679500_1314465777']['review_content']; ?></div>	
									</td>
  								</tr>
  								<tr>
    								<td><img src="themes/default/images/recommendation_bubble_3.gif" width="549" height="13" /></td>
  								</tr>
							</table>                    
							</div>
							<div>
								<img  src="themes/default/images/stars<?php echo $this->_var['reviewer_0_55679500_1314465777']['rank_score']; ?>.gif" />
							</div>
                    	</div>
               		</div>					
					<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>

					</div> 
				</div> 				
            </div>
        </div>
    </div>
    <?php echo $this->fetch('library/page_footer.lbi'); ?>
</div>
<?php endif; ?>
<?php endif; ?>
</body>
<script type="text/javascript">
<?php $_from = $this->_var['lang']['clips_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</script>
</html>
